#include <stdio.h>

int main()
{
    int c;

    c = (getchar() != EOF);

    printf("Answer is %d\n", c);

    return 0;
}